//
//  FMTableViewCell.m
//  WindRunner
//
//  Created by leeqb on 9/21/14.
//  Copyright (c) 2014 poweropt. All rights reserved.
//

#import "FMTableViewCell.h"

@implementation FMTableViewCell

- (id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super initWithCoder:aDecoder];
    if(self) {
        [self initCell];
    }
    return self;
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self) {
        [self initCell];
    }
    return self;
}

- (void)initCell
{
    if([self respondsToSelector:@selector(setLayoutMargins:)]) {
        self.layoutMargins = UIEdgeInsetsZero;
    }
}

@end
